package com.example.administrator.myweiyue.ui.fragment.video;


import android.view.View;

import com.example.administrator.myweiyue.R;
import com.example.administrator.myweiyue.log.LogUtils;
import com.example.administrator.myweiyue.ui.base.MyBaseFragment;
import com.example.administrator.myweiyue.ui.component.AppComponent;
import com.example.administrator.myweiyue.ui.component.DaggerNewComponent;
import com.example.administrator.myweiyue.ui.fragment.video.contract.VideoContract;
import com.example.administrator.myweiyue.ui.fragment.video.present.VideoPresent;

/**
 * Created by Administrator on 2018-01-22.
 */

public class VideoFragment extends MyBaseFragment<VideoPresent> implements VideoContract.View {

    @Override
    public int getLayoutId() {
        return R.layout.fragment_video;
    }

    @Override
    public void initInjector(AppComponent appComponent) {
//        DaggerVideoComponent.builder().appComponent(appComponent).build().inject(this);
     DaggerNewComponent.builder().appComponent(appComponent).build().inject(this);
    }

    @Override
    public void afterViewCreate(View mRootView) {

    }

    @Override
    public void initData() {
        LogUtils.debug(String.valueOf(mPresenter));
    }

    @Override
    public void getData() {

    }
}
